﻿<!DOCTYPE html>
<!--[if lt IE 7 ]> <html class="ie ie6 no-js" lang="en"> <![endif]-->
<!--[if IE 7 ]>    <html class="ie ie7 no-js" lang="en"> <![endif]-->
<!--[if IE 8 ]>    <html class="ie ie8 no-js" lang="en"> <![endif]-->
<!--[if IE 9 ]>    <html class="ie ie9 no-js" lang="en"> <![endif]-->
<!--[if gt IE 9]><!-->
<html class="no-js" lang="en">
<!--<![endif]-->
<!--[if lt IE 9]>
<script src="@Url.Content("~/Scripts/html5.js")"></script>
<![endif]-->
<!-- the "no-js" class is for Modernizr. -->
<head>
	<meta charset="utf-8">
	<meta name="description" content="@ViewBag.PageDescription">
	<link rel="shortcut icon" href="@Url.Content("~/favicon.ico")">
	<title>DFA-MC Rapid Response - @ViewBag.Title</title>
	<link href="@Url.Content("~/css/Html5Reset.css")" rel="stylesheet"/>
	<link href="@Url.Content("~/css/Site.css")" rel="stylesheet"/>
	<script src="@Url.Content("~/Scripts/modernizr-2.0.6.js")"></script>
</head>
<body>
    <div id="fb-root"></div>
    <script>(function (d, s, id) {
        var js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) return;
        js = d.createElement(s); js.id = id;
        js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=APP_ID";
        fjs.parentNode.insertBefore(js, fjs);
    } (document, 'script', 'facebook-jssdk'));</script>

	<div class="page">
		<!-- Begin the page section with the section tag -->
		<header id="PageHeader">
			<div id="parent-site" title="Democracy for America - Maricopa County - Rapid Reponse Database">
				<a href="@Url.Content("~/")"><img src="@Url.Content("~/images/dfamc_logo.gif")" /></a>
			</div>
			<div id="title">
				<h1>Rapid Response<br />
					Network</h1>
			</div>
			<div id="right-header">
				<div id="logindisplay">
					@Html.Partial("_LogOnPartial")
				</div>
				<nav>
					<ul id="menu">
						<li class="@ViewData["NavHomeClass"]">@Html.ActionLink("DEBATE", "Index", "Home")</li>
                        <li class="@ViewData["NavClaimClass"]">@Html.ActionLink("EDIT", "Index", "Claim")</li>
						<li class="@ViewData["NavAboutClass"]">@Html.ActionLink("ABOUT", "Index", "About")</li>
						@if(User.IsInRole(Db8.Db8Roles.SYSTEM_ADMINISTRATOR)) 
                        {
                            <li class="@ViewData["NavAdminClass"]">@Html.ActionLink("ADMIN", "Users", "Admin")</li>
                        }
					</ul>
				</nav>
			</div>
		</header>
		<!-- body of the pages should start with section class="content" -->
		@RenderBody()
		<footer id="pageFooter">
			<!--begin master footer -->
			<section id="disclaimer">
				Paid for by Democracy for America - Maricopa County.<br />
				Not authorized by any candidate. Contributions are not tax deductible.
			</section>
			<section id="copyright">
				@Html.Raw(string.Format("&copy; {0} by {1}", DateTime.Now.Year, "Democracy for America - Maricopa County"))
			</section>
            @Html.ActionLink("view mobile site", "ViewMode", "Home", new { mode = "mobile" }, null)
		</footer><!--end master footer -->
		<!-- Grab Google CDN's jQuery. fall back to local if necessary -->
		<script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.6.4.min.js"></script>
		<script> window.jQuery || document.write(unescape("%3Cscript src='@Url.Content("~/Scripts/jquery-1.6.4.min.js")'%3E%3C/script%3E"))</script>
		@RenderSection("scripts", false)
	</div>
</body>
</html>
